﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class m_Pay_Attention : DataObject
    {
        [Column]
        public string Region { get { return _Region; } set { _Region = value; EntityState.FieldChange("Region"); } }
        private string _Region;
        public static FieldInfo region = new FieldInfo("m_Pay_Attention", "Region");

        [Column]
        public string Description_EN { get { return _Description_EN; } set { _Description_EN = value; EntityState.FieldChange("Description_EN"); } }
        private string _Description_EN;
        public static FieldInfo description_en = new FieldInfo("m_Pay_Attention", "Description_EN");

        [Column]
        public string Description_ZH { get { return _Description_ZH; } set { _Description_ZH = value; EntityState.FieldChange("Description_ZH"); } }
        private string _Description_ZH;
        public static FieldInfo description_zh = new FieldInfo("m_Pay_Attention", "Description_ZH");

        [Column]
        public string Text { get { return _Text; } set { _Text = value; EntityState.FieldChange("Text"); } }
        private string _Text;
        public static FieldInfo text = new FieldInfo("m_Pay_Attention", "Text");

        [Column]
        [NowDate]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } }
        private DateTime _Time;
        public static FieldInfo time = new FieldInfo("m_Pay_Attention", "Time");

        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } }
        private int _Status;
        public static FieldInfo status = new FieldInfo("m_Pay_Attention", "Status");
    }
}
